Skip to content

Svelte 5 migration#621

Open
livingtongues wants to merge 34 commits intodevfrom
svelte-5-migration
Open

Svelte 5 migration#621
livingtongues wants to merge 34 commits intodevfrom
svelte-5-migration

Conversation

@livingtongues
Copy link
Owner

No description provided.

@vercel
Copy link

vercel bot commented Dec 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
living-dictionaries Ready Ready Preview Mar 13, 2026 4:29am

Request Review

Implements a new canvas-based globe using D3 orthographic projection with versor-based drag/zoom interactions. This removes the Mapbox dependency from the home page while keeping it available for other pages. Includes force-directed label placement with collision detection to prevent overlapping dictionary names.
- Auto-format: trailing commas, import sorting, whitespace cleanup
- Reformat keyboards.json and geojson files (4-space to 2-space indent)
- Add triage issues for Svelte 5 migration, dictionary delete cascade, and delete refactor
- Move pglite-local-data issue to done
- Remove unused e2e specs and supabase import-map.json
- Reorganize PGlite table primary keys with category comments
- Change dictionary delete to soft-delete (SET deleted = NOW())
- Remove unused imports in SyncStatus and sync-engine
- Add ignores for entry caches, ids-import, .issues, .opencode dirs
- Add pglite-proxy eslint config (Node environment rules)
- Move sync-engine.test.ts and clients.ts to src/db-tests/ (requires Supabase)
- Remove fully commented-out prepareEntriesForCsv.test.ts
- Fix debounce.ts: replace Function type with proper signature, use spread
- Fix lz-string.test.ts: Array.from instead of new Array
- Fix checkForMissingKeysInHeaders.ts: empty arrow functions
- Update finish-svelte-5-migration issue with concrete file lists
- Auto-fix lint formatting across codebase
- Convert export let to $props() in all .svelte files
- Convert $: reactive declarations to $derived/$effect
- Convert <slot> to snippets ({#snippet} + {@render})
- Convert createEventDispatcher to callback props
- Remove commented-out CheckboxCell.svelte (unused)
- Clean up migration comments in +layout.svelte
- Fix dictionaries page to use correct my_dictionaries prop name

Files migrated:
  ImageDropZone, AddImage, IpaKeyboard, CoordinatesModal,
  MediaStream, Recorder, RecordVideo, ShowHide,
  dictionaries/+page, EntriesTable, +layout
- Delete 9 unused Kitbook .composition files (ESLint parsing errors)
- Migrate remaining $app/stores to $app/state (Svelte 5)
- Convert ShowHide slot API to snippet API in Audio, Video, EntryField
- Fix multiline attribute formatting (consistent-attribute-lines)
- Add eslint-disable for circular svelte/indent vs style/indent-binary-ops conflicts
- Change data.map to data.forEach in convert-flex.ts (array-callback-return)
- Ignore **/*.md in ESLint config (unparseable code blocks)
- Refactor component-to-png.ts (reorder functions, add Buffer import)
- Minor code cleanups (empty function bodies, destructuring, queue.ts)
…-pglite

- Rename delete_all to delete, accept string | string[]
- Add find() for async non-reactive single row lookup
- Add upsert() with ON CONFLICT using primary key columns
- Add update() for partial row updates by primary key
- Add snapshot() to QueryAccessor for one-time reads
- Add 5s debounced stop to TableStore to prevent rapid resubscription
- Update AGENTS.md with new API documentation
…logging

- Add /admin/sync page with live log stream, summary cards, copy/download report
- Replace sync button in admin nav with cloud status icon linking to sync page
- Add SyncLogEntry type and structured logging throughout sync engine
- Batch download inserts (save_batch_to_local) instead of per-row INSERTs
- Batch upload mark-as-synced using single UPDATE with VALUES clause
- Add #yield() for UI responsiveness between batch operations
- Filter dictionary_roles/invites referencing deleted dictionaries before insert
- Fall back to per-row insert when batch fails (FK violations)
- Add svelte plugin to vitest db config to fix rune_outside_svelte errors
- Add test for filtering roles of deleted dictionaries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants